<?php
/**
 * The interface that every binder factory should meet
 */
interface IOC_BinderFactory {
    /**
     * The class name to use as an implementation
     * @param $className
     * @return IOC_ScopeableBinder
     */
	public function to($className);
	/**
	 * An instance to use as an implementation
	 * @param $object
	 */
	public function toInstance($object);
	/**
	 * A provider to use as an implementation
	 * @param $provider
	 * @return IOC_ScopeableBinder
	 */
	public function toProvider(IOC_Provider $provider);
}
?>